package com.yzd.otherlearn.jvm;

import com.yzd.otherlearn.util.Print;

public class LoadClassTest1 {
	public static void main(String[] args) {
		//Print.print(Sub.VALUE);
		
		//Super[] ss = new Super[10];
		
		Print.print(Super.HELLOWORLD);
	}
}

class Super {
	static {
		Print.print("Super init");
	}
	
	public static int VALUE = 1;
	
	public static final String HELLOWORLD = "hello world";
}

class Sub extends Super{
	static {
		Print.print("Sub init");
	}
}
